﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net;


namespace System.Web
{
    public interface IHttpHandler
    {
        void ProcessRequest(HttpContext context);
        bool IsReusable
        {
            get;
        }
    }
    public class HttpHandler : IHttpHandler
    {
        public bool IsReusable { get { return false; } }

        public void ProcessRequest(HttpContext context)
        {
            context.Response.Write("ok");
            context.Response.Close();
        }
    }
}
